package com.example.newone.service.impl;

import com.example.newone.dao.ScoreDao;
import com.example.newone.mappper.ScoreMapper;
import com.example.newone.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ScoreServiceImpl implements ScoreService{

    @Autowired
    private ScoreMapper scoreMapper;

    @Override
    public List<ScoreDao> findScore() {
    List<ScoreDao> list = scoreMapper.findScore();
    return list;
    }
}
